Sketch a new interface for transferring hypercall arguments in memory.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 28 Feb 2006 16:45:20 +0000 (17:45 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 28 Feb 2006 16:45:20 +0000 (17:45 +0100)
commit99cab9a77803cdb6a50de453ba1115f25973bf88
tree34bfc7e7efe6430650e6f334b8601cffc5c4d55c
parentec42d0fc1aea4b1061036dde651dca14b03e35df
Sketch a new interface for transferring hypercall arguments in memory.
Instead of manipulating guest virtual addresses, 'guest handles' are
passed across the hypercall interface, which may only be manipulated
via the interface exported by guest_access.h.

So far this has only been applied to the memory_op hypercall. The
interfaces are still subject to change. Other hypercalls can be updated
after the interface is agreed upon.

Also cleaned up the hypercall_create_continuation() interface to take
a format string and different-typed varargs (they do not all need to
be castable to longs).

Signed-off-by: Keir Fraser <keir@xensource.com>
16 files changed:
xen/Rules.mk
xen/arch/ia64/vmx/vmx_hypercall.c
xen/arch/ia64/xen/process.c
xen/arch/x86/domain.c
xen/arch/x86/mm.c
xen/arch/x86/traps.c
xen/arch/x86/x86_32/mm.c
xen/arch/x86/x86_64/mm.c
xen/common/memory.c
xen/common/multicall.c
xen/drivers/char/console.c
xen/include/asm-x86/mm.h
xen/include/public/memory.h
xen/include/public/xen.h
xen/include/xen/guest_access.h [new file with mode: 0644]
xen/include/xen/sched.h